package com.wxh.jwt.annotation;

import java.lang.annotation.*;

/**
 * @ClassName: PassToken
 * @Description: 不需要 token验证自定义注解类
 * @Author wxh
 * @Date: 2020/5/28 10:59
 * @Version V1.0.0
 * @Since 1.8
 */
@Target({
        ElementType.METHOD,
        ElementType.TYPE
})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface PassToken {
    /**
     *  true：不需要验证 ，false:需要验证
     * @return boolean
     */
    boolean required() default  true;
}
